import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes,RouterModule } from '@angular/router';
import { TwounitsComponent } from './u03op40online/u03op40online.component';
import { HomeComponent } from "./home/home.component";
import { FourunitsComponent } from './u03op40lineEdge/u03op40lineEdge.component';
import { PagenotfoundComponent } from './pagenotfound/pagenotfound.component';
import { TwounitsBComponent } from './u02op40/u02op40.component';
import { TwounitsAComponent } from './u02op30/u02op30.component';
import { U14Component } from './U14OutBound/u14.component';
const routes: Routes = [
  
  { path: 'home', component: HomeComponent },
  { path: '002A', component: TwounitsAComponent },
  { path: '002B', component: TwounitsBComponent },
  { path: '003A', component: TwounitsComponent },
  { path: '003B', component: FourunitsComponent },
  { path: 'Unit14', component: U14Component },
  { path: "", redirectTo: "/home", pathMatch: "full" },
  { path: '**', component: PagenotfoundComponent },
];
@NgModule({
  declarations: [],
  imports: [
    CommonModule,
    [RouterModule.forRoot(routes)],
  ],
  exports: [RouterModule]
})
export class AppRoutingModule { }
